package com.mylib.libcore.bean;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;

import java.util.List;

public class LocalCityBean {
    private String code;
    private String name;
    private List<LocalCityBean> children;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        new Gson().fromJson("", new TypeToken<List<LocalCityBean>> (){}.getType());

        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<LocalCityBean> getChildren() {
        return children;
    }

    public void setChildren(List<LocalCityBean> children) {
        this.children = children;
    }
}
